package cn.maihe.elg.operation.repository.mapper;

import cn.maihe.elg.operation.repository.entity.PermissionDO;
import cn.maihe.elg.operation.repository.entity.entityCustom.PermissionDOCustom;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper extends BaseMapper<PermissionDO> {
    List<PermissionDOCustom> findByRoleId(@Param("roleId") Long roleId);

    List<PermissionDOCustom> selectListAll();

}
